<?php
/**
 * @category 	GroupUtil.php
 * @author 		Sung Hoon, Cho (akdddnet@gmail.com)
 * @since		2011. 6. 3.
 * @license		BSD License
 * @version		0.1
 */


function getPrivilegeValue($value) {
	$str = "허용";
	$class = "blue";
	
	if(!$value) {
		$str = "금지";
		$class= "red";
	}
	
	return "<span class=".$class.">".$str."</span>";
}